package com.scm.persist.mybatis;

import com.scm.persist.model.ScmInventoryStash;
import com.scm.persist.model.ScmInventoryStashExample;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

import java.util.List;

public interface ScmInventoryStashMapper {
    int countByExample(ScmInventoryStashExample example);

    int deleteByExample(ScmInventoryStashExample example);

    int deleteByPrimaryKey(Long id);

    int insert(ScmInventoryStash record);

    int insertSelective(ScmInventoryStash record);

    List<ScmInventoryStash> selectByExampleWithRowbounds(ScmInventoryStashExample example, RowBounds rowBounds);

    List<ScmInventoryStash> selectByExample(ScmInventoryStashExample example);

    ScmInventoryStash selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") ScmInventoryStash record, @Param("example") ScmInventoryStashExample example);

    int updateByExample(@Param("record") ScmInventoryStash record, @Param("example") ScmInventoryStashExample example);

    int updateByPrimaryKeySelective(ScmInventoryStash record);

    int updateByPrimaryKey(ScmInventoryStash record);
}